<?php
include("include/config.inc.php");
if(!isset($_SESSION['s_activId']))
{
  $_SESSION['s_urlRedirectDir'] = $_SERVER['REQUEST_URI'];
  header("Location:checkLogin.php");
}
else
{	
  $cityArray = array();
  $j=0;
  $selectCity = "SELECT cityId,city 
                   FROM city
                  GROUP BY city";
  $selectCityRes = mysql_query($selectCity);
  while($partyRow = mysql_fetch_array($selectCityRes))
  {
  	$cityArray['cityId'][$j]  = $partyRow['cityId'];
  	$cityArray['city'][$j]    = $partyRow['city'];
  	$j++;
  }
}
include("./bottom.php");
$smarty->assign('cityArray',$cityArray);
$smarty->assign('reminders',isset($_REQUEST['reminders'])? $_REQUEST['reminders'] : 0);
$smarty->display('summary.tpl');
?>
